/**
 * @Author lilinjie
 * @Description: 上下文
*/

import { provide, inject } from 'vue'

const symbol = Symbol()

export function useProvideData(category) {
  provide(symbol, category)
}

export function useInjectData() {
  return inject(symbol)
}


